package com.lv.dhart.beans.market;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * 用户可寄售资产合合计列表
 */
public class SellableAssetsListBean implements Serializable {


    private static final long serialVersionUID = 1155326461252562670L;
    /**
     * code : 0
     * message :
     * data : {"list":[{"collection_id":"242","collection_name":"敦煌文化传播使者徽章","collection_image_url":"https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif","count":10}],"page":0,"total_pages":0,"total":0}
     */

    @SerializedName("code")
    private Integer code;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * list : [{"collection_id":"242","collection_name":"敦煌文化传播使者徽章","collection_image_url":"https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif","count":10}]
         * page : 0
         * total_pages : 0
         * total : 0
         */

        @SerializedName("page")
        private Integer page;
        @SerializedName("total_pages")
        private Integer totalPages;
        @SerializedName("total")
        private Integer total;
        @SerializedName("list")
        private List<ListDTO> list;

        public Integer getPage() {
            return page;
        }

        public void setPage(Integer page) {
            this.page = page;
        }

        public Integer getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(Integer totalPages) {
            this.totalPages = totalPages;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class ListDTO {
            /**
             * collection_id : 242
             * collection_name : 敦煌文化传播使者徽章
             * collection_image_url : https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif
             * count : 10
             */

            @SerializedName("collection_id")
            private String collectionId;
            @SerializedName("collection_name")
            private String collectionName;
            @SerializedName("collection_image_url")
            private String collectionImageUrl;
            @SerializedName("count")
            private Integer count;

            public String getCollectionId() {
                return collectionId;
            }

            public void setCollectionId(String collectionId) {
                this.collectionId = collectionId;
            }

            public String getCollectionName() {
                return collectionName;
            }

            public void setCollectionName(String collectionName) {
                this.collectionName = collectionName;
            }

            public String getCollectionImageUrl() {
                return collectionImageUrl;
            }

            public void setCollectionImageUrl(String collectionImageUrl) {
                this.collectionImageUrl = collectionImageUrl;
            }

            public Integer getCount() {
                return count;
            }

            public void setCount(Integer count) {
                this.count = count;
            }
        }
    }
}
